package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.PlanOfflineList;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @Author 熊冰
 * @Date 2019/11/11 10:19
 * 任务单维修采集参数
 */
public interface PlanOfflineListMapper {
    //增加
    int insertPlanOfflineList(PlanOfflineList planOfflineList);
    //更新
    int updatePlanOfflineList(PlanOfflineList planOfflineList);
    //查询
    List<PlanOfflineList> queryPlanOfflineList(PlanOfflineList planOfflineList);
    //总数
    int countPlanOfflineList(PlanOfflineList planOfflineList);
    //判重
    int checkPlanOfflineList(PlanOfflineList planOfflineList);
    //删除
    int deletePlanOfflineList(@Param("planOfflineListIds") List<Integer> planOfflineListIds, @Param("dataState") Integer dataState);

}